Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(waf): add new check waf_global_webacl_with_rules #5469

Conversation

HugoPBrito
Copy link
Member

Context

AWS WAF Classic global web ACLs (Web Access Control Lists) are essential for controlling access to web applications. A web ACL can include a set of rules or rule groups that filter and manage HTTP and HTTPS requests. These rules help define which traffic should be allowed, blocked, or counted, improving security and controlling access to your AWS resources such as CloudFront distributions.

Description

This check verifies whether an AWS WAF Classic global web ACL contains at least one rule or rule group. If no rules or rule groups are present, the web traffic might pass without inspection, leaving the application vulnerable to attacks.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@HugoPBrito HugoPBrito requested review from a team as code owners October 18, 2024 14:44
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Oct 18, 2024
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.63%. Comparing base (4c5f3a2) to head (47a1452).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5469      +/-   ##
==========================================
+ Coverage   89.60%   89.63%   +0.02%     
==========================================
  Files        1073     1074       +1     
  Lines       33237    33255      +18     
==========================================
+ Hits        29782    29808      +26     
+ Misses       3455     3447       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…eb-ac-ls-have-at-least-one-rule-or-rule-group
sergargar
sergargar previously approved these changes Oct 22, 2024
@sergargar sergargar merged commit 8ac28fb into master Oct 22, 2024
10 of 11 checks passed
@sergargar sergargar deleted the PRWLR-4461-ensure-aws-waf-classic-global-web-ac-ls-have-at-least-one-rule-or-rule-group branch October 22, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants